<div id="sua_km">
	<h3>SỬA KHUYẾN MÃI</h3>
    <a href="<?php echo base_url()?>index.php/admin/admin/qlkhuyenmai">Quay lại</a>
    <?php
        	$attributes = array('id'=>'signin_form_frm', 'name'=>'signin_form_frm');			
             echo form_open_multipart('admin/admin/check_update/'.$item->id_km,$attributes);
     ?>   
	<div class="block_themkm">
            <label>Tiêu đề</label>
            <input class="input_signin" type="text" id="txttieude" name="txttieude" 
            value="<?php echo $item->tieu_de; ?>" />                                                      
    </div>
    
    <div class ="block_themkm">
            <label>Ngày bắt đầu</label>           
            <input class="input_signin" type="date" name="txtngaybd" id="txtngaybd" value="<?php echo date("j/m/Y",strtotime($item->ngay_bat_dau)); ?>" />
      </div>
    <div class ="block_themkm">
            <label>Ngày kết thúc</label>           
            <input class="input_signin" type="date" name="txtngaykt" id="txtngaykt"  value="<?php echo date("j/m/Y",strtotime($item->ngay_ket_thuc)); ?>" />
     </div>
      <div class ="block_themkm">
            <label>Tỉ lệ khuyến mãi</label>           
            <input class="input_signin" type="text" name="txttile" id="txttile"  value="<?php echo $item->ty_le; ?>" />%
      </div>
      <div class ="block_themkm">
            <label>Số lượng</label>           
            <input class="input_signin" type="text" name="txtsoluong" id="txtsoluong"  value="<?php echo $item->so_luong; ?>" />
      </div>
      <input type="submit" value="Sửa"/>
</div>